Informed consent is a legal and ethical requirement that ensures patients have the necessary information to make decisions about their healthcare.