The cartoon is "Hooky" (1931), a Betty Boop short from Fleischer Studios.
Betty's pet goldfish Goldy tires of his bowl, jumps out the window, and embarks on surreal adventures in the city—evading cats, joining a chorus line, etc.—before returning home.
Public domain; available on YouTube and Internet Archive.