I have a homework problem due tomorrow.

Let S be a nonempty set of real numbers that is bounded from above (below) and let x=sup S (inf S). Prove that x either belongs to S or is an accumulation point (limit point) of S.

This is all the entirety of the problem.

I am sure that I can solve it if I understand what it means but what is the meaning?