What does a D&D adventure format look like?

I am writing a D&D story and I am new to the world of D&D, and wanted to make an adventure of my own. I am not quite sure how to write one though. How should I format it? What format are D&D adventures typically written as?