IoT in healthcare, agriculture, and smart cities