Local variables are variables that are declared inside a method or constructor and can only be accessed within that method or constructor. They have limited scope and lifetime, meaning they exist only as long as the method or constructor is being executed.