A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
License assignment is not enforced in SPO. So yes, you must have a license to comply with the terms of service/license agreement, but you won't be blocked from using SPO if you don't.