Confusion typically arrises when looking at areas, which for historical reasons can be implemented either using closed ways or multipolygons. So depending on the context, the term "way" may describe either a linear feature or an area. Specifying "osm way", "closed way", "polygon", or "linear way" might clear things up.