Prior art refers to existing knowledge and technologies that are publicly available before the filing date of a patent application. It plays a crucial role in determining the novelty and inventiveness of an invention. Patent examiners use prior art to assess the patentability of an invention.