thermotaxis
The directed movement of a motile cell or organism in response to a temperature gradient. Movement may be towards either a higher or lower temperature.
GO:0043052 · biological process
Also called: taxis in response to temperature stimulus