I am writing a lab report and I want to display the a table underneath my Results section. This is my code:

However, the result looks like this:

Why is this the case? Thanks!
I am writing a lab report and I want to display the a table underneath my Results section. This is my code:

However, the result looks like this:

Why is this the case? Thanks!
The issue here is that you haven't specified where the float can actually go. This means that it will go to the default position defined by the document class. As you're using the article class that means the default is [tbp].
Your table appears to be at the top of the page. So you can either tell it to go somewhere else with, for example, h or arguably if you don't want it to float then don't use the table environment altogether.
You can use the \captionof command as described here to keep your caption if you want to remove the table environment.
booktabsand replace your\hlinewithbooktab's\toprule. The spacing is far better. – JBantje Apr 17 '15 at 08:56