Can i record a rental property on a capital gains and loss form when it was sold at a loss?

The house was a rental that was sold on Jan 16, 2018.   It was sold at a loss.  Does this need to be recorded on a Capital gain and loss form?