Why can carboxyl and phosphate groups act as acids?

Bekar site hai