What is Paternity & How is it Established?

What is paternity? Establishing paternity means determining that the biological father of a child that is born out of wedlock is in fact the legal father. How is paternity established?