The fruit said to have inspired Newton’s theory of gravity was an apple.
According to accounts attributed to Newton, he was prompted to think about gravity after seeing an apple fall from a tree at Woolsthorpe, his family home in Lincolnshire. The important question was not simply why the apple fell downward, but whether the same force might extend as far as the Moon. Newton later developed the idea that gravity acts between masses and follows an inverse-square relationship with distance.
The popular image of the apple striking Newton on the head is almost certainly a later embellishment. Newton’s acquaintances recorded the falling-apple story, and it was popularized by Voltaire in the 1720s. Newton did not instantly complete his theory after seeing the apple: he worked on the mathematics for years, and published the mature theory in Principia Mathematica in 1687. The famous tree at Woolsthorpe is associated with the story, and descendants of it are still preserved.