A communication apparatus having a first communication unit configured to perform wireless communication based on a first communication method and a second communication unit configured to perform wireless communication based on a second communication method with a higher communication speed or a larger communication range than the first communication method, the apparatus comprising: transmitting means configured to transmit (S1003, S1103), by the first communication unit, identification information of the communication apparatus in a case where the communication apparatus is connected to another communication apparatus by the first communication unit; receiving means configured to receive, by the first communication unit, instruction information for instructing the communication apparatus to communicate with the other communication apparatus in a second wireless network different from a first wireless network; and control means configured, in a case where the communication apparatus is connected to the other communication apparatus by the first communication unit and connected to the first wireless network by the second communication unit, to control the second communication unit to: communicate with the other communication apparatus in the second wireless network, instead of the first wireless network, in a case where the receiving means receives the instruction information after the transmitting means transmits the identification information, and communicate with the other communication apparatus in the first wireless network, in a case where the receiving means does not receive the instruction information after the transmitting means transmits the identification information. transmitting means configured to transmit (S1003, S1103), by the first communication unit, identification information of the communication apparatus in a case where the communication apparatus is connected to another communication apparatus by the first communication unit; receiving means configured to receive, by the first communication unit, instruction information for instructing the communication apparatus to communicate with the other communication apparatus in a second wireless network different from a first wireless network; and control means configured, in a case where the communication apparatus is connected to the other communication apparatus by the first communication unit and connected to the first wireless network by the second communication unit, to control the second communication unit to: communicate with the other communication apparatus in the second wireless network, instead of the first wireless network, in a case where the receiving means receives the instruction information after the transmitting means transmits the identification information, and communicate with the other communication apparatus in the first wireless network, in a case where the receiving means does not receive the instruction information after the transmitting means transmits the identification information. communicate with the other communication apparatus in the second wireless network, instead of the first wireless network, in a case where the receiving means receives the instruction information after the transmitting means transmits the identification information, and communicate with the other communication apparatus in the first wireless network, in a case where the receiving means does not receive the instruction information after the transmitting means transmits the identification information.