Find the item's languages Programmatically in Sitecore

Everybody knows how to find the languages for any item in the Sitecore tree. This can be done by selecting the item and clicking on the language dropdown on the right side as you can see in the below screenshot.
During my work, I needed to find all items with...