In social interaction, gender and age play an important role. Natural differences vary in gender, as are the terms used to identify people by their age. Despite the importance of these factors in our daily lives, the machine's capability to measure facial pictures reliably and effectively comes as part of what is required for industrial applications. For many years, automated facial recognition and gender and age estimation using Artificial Intelligence have attracted a lot of attention and have increased popularity. The use of a Deep Neural Network(DNN) to predict gender and age is suggested in this paper. Based on the widespread availability of facial images on the World Wide Web, mainly on social media, automatic facial recognition and prediction of gender and age using machine learning models have attracted a lot of consideration over a decade and have become increasingly popular. In all the existing literatures, gender is predicted as male or female.