Pediatrics is the medical specialty that covers the prevention, diagnosis, and treatment of diseases in children.