What is an ottoman bed exactly?

It’s a funny word, ottoman. Doesn’t mean a lot in English really, or have any obvious word origin in the way that footstool is obviously a stool for the feet or chaise lounge a long chair, but Ottoman?