This was largely debated before it was discovered that coral were animals in the 18th century. Before that some people believed coral to be plants, other people believed them to be animals, and still others believed them to belong to a third category between plants and animals.