Hello and welcome. It is an infant nursing bottle - before the days of plastic, they were made of glass. The top would be fitted with a rubber nipple. See more examples:
https://duckduckgo.com/?q=infant+nursing+bottle+vintage+glass&t=ffsb&iax=images&ia=images