Yes, lemon is a fruit.
Lemons are classified as fruit because they develop from the flower of a plant and contain seeds. While commonly used in culinary applications for their acidic juice, zest, or as a garnish, lemons fit the botanical definition of a fruit. They are not typically eaten whole due to their high acidity, but their juice and other parts add flavor to various dishes, drinks, and desserts.