Verb: When used as a verb, it means to provide lodging or space for, or to adapt to a particular situation or need.
* Example: The hotel can accommodate 200 guests.
* Example: We need to accommodate the new employee's schedule.
Noun: When used as a noun, it means a place where someone can stay or be housed. This is a less common usage.
* Example: The hostel provided basic accommodation for the travelers.
So, you need to consider the context to determine the part of speech.