There's been plenty of posts on the difference between a plain crystal, and a crystal oscillator; eg,
https://www.avrfreaks.net/commen...
https://www.avrfreaks.net/commen... - Tip #4 in my signature
Here's what is actually inside a crystal oscillator:
https://www.righto.com/2021/02/teardown-of-quartz-crystal-oscillator.html
EDIT
As Jim points out, this article focuses on just one particular crystal oscillator device - always study the datasheet for the particular device you are using for specific details like pin functions, etc.