In recent decades, the potential of robots’ understanding, perception, learning, and action has been widely expanded due to the integration of artificial intelligence (AI) into almost every system. Cooperation between AI and human beings will be responsible for the bright future of AI technology. Moreover, for a perfect manually or automatically controlled machine or device, the device must perform together with a human through multiple levels of automation and assistance. Humans and robots cooperate or interact in various ways. With the enhancement of robot efficiencies, they can perform more work through an automatic method; therefore, we need to think about cooperation between humans and robots, the required software architectures, and information about the designs of user interfaces. This paper describes the most important strategies of human–robot interactions and the relationships between several control techniques and cooperation techniques using sensor fusion and machine learning (ML). Based on the behavior and thinking of humans, a human–robot interaction (HRI) framework is studied and explored in this article to make attractive, safe, and efficient systems. Additionally, research on intention recognition, compliance control, and perception of the environment by elderly assistive robots for the optimization of HRI is investigated in this paper. Furthermore, we describe the theory of HRI and explain the different kinds of interactions and required details for both humans and robots to perform different kinds of interactions, including the circumstances-based evaluation technique, which is the most important criterion for assistive robots.