When looking at the IMDb page for *Midnight Cowboy*, it says that the movie is rated X but won 3 Oscars. I always assumed an X-rated movie is a pornographic movie. Does this mean that Oscars can also be given to pornographic movies? If not, how does this fit together?

![enter image description here](https://i.stack.imgur.com/7VVUt.jpg)