PARAPET

A wall placed at the edge of a roof to prevent people from falling off.

Example:

The parapet on the top of our building was made from brick.