Answer:
Pterosaurs (a group that pterodactyls belonged to) varied a great deal in many ways, including diet. Some pterosaurs ate meat from dead animals, much like vultures today. Some were active hunters that captured insects and small animals to eat. Others caught and ate fish.