Guardianship

What is a guardian, and how do you petition a court for legal guardianship.