Contemporary agriculture faces many challenges, most notably the large and continuous increase in population numbers, which requires the greater provision of agricultural products to meet people's need for food. There are also other challenges such as global climate change, which has recently increased inefficiency due to droughts, desertification, irrigation water decreasing, increased soil contamination, plant diseases, heat waves, floods, and water salinity, causing many agricultural problems. The agricultural industry needs to invest in new techniques and infrastructure that enable it to transform into a smart industry capable of responding to these challenges through lean operations supported by industrial digital technologies (IDTs) to maintain efficiency, sustainability, and quality. The industry 4.0 strategy has been widely adopted by the manufacturing industry, enabling the manufacturing sector to achieve the enhanced optimization, efficiency, responsiveness, and autonomy premises of the digitalization strategy. This paper discusses the digitization of agriculture" from industry 4.0 towards agriculture 4.0," which relies on Internet of Things (IoT) technologies, artificial neural networks (ANN), AI, and fuzzy logic to make a quantum leap, in the future of agriculture sector. Internet of Things devices collect data from the devices or sensors, analyse, process, and transfer it, in addition to making the right decisions, without human intervention. IOT also provides the basic communications infrastructure that is used to connect smart devices, sensors, and UAVs to mobile devices by using the Internet. These processes will lead to many services, such as collecting and analysing the information, pattern recognition, and independent decision-making based on artificial intelligence added to the current agricultural automation. These technologies will lead to a revolution in the field of agriculture, which is probably one of the most inefficient sectors today.