Weird stuff seen

Going to an inspection, this morning, and saw this.

Chicago has a long tradition of roof decks (Cubs. Go figure!) but this is getting crazy. This was a small coach house (two stories, even) on the roof deck of the garage behind a condo building.

What are they thinking?

That looks weird!
Did it have plumbing/drains, etc?

what is the issue?