Knowledge representation and reasoning (KRR) in AI involves how machines understand, interpret, and utilize knowledge to solve real-world problems, mimicking human cognitive abilities. Types of knowledge include declarative, procedural, meta-knowledge, heuristic, and structural, which together form a knowledge base that supports intelligent behavior through perception, learning, planning, and execution. Various representation techniques—such as logical representation, semantic networks, frames, and production rules—are used to model knowledge effectively, with specific focus on practical applications like the Wumpus World problem.