Apparatus for lighting or heating