A funnel is the smokestack or chimney on a ship used to expel boiler steam and smoke or engine exhaust. They are also commonly referred to as stacks.
Twin funnels of PS Waverley
Diesel exhausts through the funnel of a modern cruise ship, MS Astor
While at anchor, a ship blows soot, dust and debris out of its funnels.
SS France (1960) (as SS Norway) and her distinctive wings, to increase uplift on the funnel's exhaust
A chimney is an architectural ventilation structure made of masonry, clay or metal that isolates hot toxic exhaust gases or smoke produced by a boiler, stove, furnace, incinerator, or fireplace from human living areas. Chimneys are typically vertical, or as near as possible to vertical, to ensure that the gases flow smoothly, drawing air into the combustion in what is known as the stack, or chimney effect. The space inside a chimney is called the flue. Chimneys are adjacent to large industrial refineries, fossil fuel combustion facilities or part of buildings, steam locomotives and ships.
A smoke hood in the Netherlands
Chimney pots in London, seen from the tower of Westminster Cathedral
A seagull sits on top of a hot gas cooling chimney at The World of Glass in St. Helens in the United Kingdom
A chimney with two clay-tile flue liners