Does judo have submissions? (Pardon my ignorance)

I have been practicing boxing for a few months but lately I have lost the taste for it, mainly because the atmosphere is not very good so to speak and the coach focuses too much on those who compete and those of us who are not so advanced are a little ignored, so I decided to start a grapling martial art to try, the only options I have nearby are BJJ and Judo, and after asking in several forums they mostly recommended judo by far, but here comes my doubt, in judo they also teach you to submit or are they just demolitions?