A for…in loop is a type of loop that allows you to iterate over the keys or properties of an object. It executes the loop body once for each property in the object, with the property’s key stored in a specified variable.