Apple and pear belongs to plant family:

Poaceae

Fabaceae

Rosaceae

Solanaceae