Abstract
This study aims to identify social media and its relation with depression and how social media affects the mental health of individuals. The general Pakistani public who have attended college and are well educated is the study's target population. This research is based on a quantitative technique. A modified questionnaire was used in accordance with the study's objectives. The data was collected using Google forms. Five-point likert scales were preferred for the data collection when convenience sampling was used. The five-point Likert scale served as the foundation for the survey. The ADANCO software was used to carry out the testing. These tests include the convergent validity, discriminant validity, and Cronbach's alpha reliability and validity tests. ADANCO has been used to measure the path coefficient, adjusted (R2), and coefficient of determination (R2). The confined areas for answers in Pakistan were the main focus of this investigation. The sample size for this study is small relative to the population because it was completed in a short time. The findings of this study show that social media can eventually lead to depression. In this study, the elements that affect mental health by excessive use of social media were examined. Numerous studies have been conducted on the detection of depression by the use of social media through bagging classifiers. We have collected data on the detection of depression through bagging classifiers and have added it to our literature review.