A Moore curve is a type of space-filling curve that is a continuous fractal and a variant of the Hilbert curve. It is used in computer science and mathematics for tasks such as data indexing and optimizing spatial queries due to its ability to map multi-dimensional data to one dimension while preserving locality.