1 Background

The emergence of coronavirus (COVID-19) in December 2019 in China marked the beginning of a global health crisis [1]. World Health Organization (WHO) swiftly identified the causative agent as novel coronavirus (2019-nCoV) and declared it a public health emergency of international concern [2]. To combat the transmission, stringent prevention and lockdown measures were implemented worldwide, with Saudi Arabia being among the leading countries in addressing the crisis. During the initial months of 2020, extensive lockdown measures were enforced globally, resulting in the closure of educational institutions and a shift towards e-learning [3]. Consequently, the reliance on technology, including smartphones, escalated as people sought to stay connected. Research indicates an increase in social media use during periods of social distancing [4]. Social media platforms serve as vital sources of information and social support, particularly for individuals experiencing stress or anxiety, as face-to-face interactions are restricted during crises [4]. However, past studies have demonstrated the adverse effects of compulsive social media use on physical and mental health, including cardio-metabolic health, sleep patterns, self-esteem, overall well-being, and functioning, particularly among adolescents [5]. WHO has also cautioned against social media rumors, which can provoke panic, stigma, and irrational behavior. Social media play a huge impact on a student’s mental and physical health [6]. Numerous studies have focused on the impact of social media during the time of the pandemic [4, 7,8,9,10,11,12]. A study in Iraqi Kurdistan highlighted social media's significant role in spreading fear and panic, potentially adversely affecting mental health and well-being [7]. Additionally, stringent lockdown measures in Australia were linked to a notable negative impact on emotional and physical well-being [13]. In India, during the COVID-19 lockdown, increased social media use led to disruptions in mood, disturbed sleep patterns, reduced physical activity, and adverse effects on academic performance [10]. Similarly, research has delved into gender differences concerning both physical and mental health. For instance, a study in Switzerland explored these demographics [8].

Unfortunately, there is scarcity of research examining perception and impact of social media during the pandemic, specifically within the Kingdom of Saudi Arabia. Therefore, this study aims to investigate the effects of social media use on physical and mental health of medical students in a private institution in Saudi Arabia during the COVID-19 pandemic.

2 Methods

2.1 Study Design and Questionnaire Development

This cross-sectional study was conducted between February and March 2021. A customized questionnaire was developed by drawing on validated studies [14, 15] and tailored to the specific objectives and scope of our research. To ensure clarity and comprehensibility, a pilot study was carried out, involving randomly selected participants who provided feedback on the survey. Necessary adjustments were made based on their input.

The research team developed a self-administered questionnaire consisting of a consent form, demographic information, and 39 main questions across six categories: general information about COVID-19, social media use, mental health, diet, sleep patterns, and physical activity. The majority of questions were presented in a Likert scale format, ranging from "Strongly Disagree" to "Strongly Agree." Data analysis was conducted by categorizing responses based on gender (males and females) and academic year (pre-clerkship: years 1–3 and clerkship: years 4–5). The general information section included seven main questions (Table 1), with correct answers coded as "Agree" or "Strongly Agree." Social media use comprised seven main questions (Table 2), with correct answers similarly coded. Their use was determined based on preoccupancy, duration, and attempts to curb down. They were further assessed based on a variety of reasons for using social networking sites, such as sharing new ideas, creating a social identity and relief from academic stress among many others. Mental health assessment involved questions related to participants' interests, changes in sleep and appetite patterns, concentration issues, feelings of depression, tiredness, failure, and restlessness (Table 3). Diet assessment included questions rating eating habits, regular intake of carbonated drinks, fast food, snacks, sweets, beverages, dairy products, and meat or fish (Table 4). Seven questions were presented on different scales, with scores calculated for each participant. The scores were added for each participant and a total score ranging from 0 to 17 indicated ideal or fair eating habits, while 18–35 represented good or excellent habits. Sleep patterns were evaluated through questions regarding the time taken to fall asleep, frequency of waking up during the night, and time taken to fall asleep again (Table 5). Among the five main questions, two had subdivisions, resulting in a total of 18 questions using different scales. Physical activity was assessed by asking participants about various activities, such as running and walking, more than a mile (Table 6). Two main questions were included, with one question having subdivisions, leading to a total of eight questions. Overall physical health was determined by combining responses from the diet, sleep patterns, and physical activity sections, resulting in a total of 27 questions.

Table 1 Comparison of general knowledge about COVID-19 among males and females in pre-clerkship and clerkship years
Table 2 Comparison of social media use during the COVID-19 lockdown among males and females in pre-clerkship and clerkship years
Table 3 Comparison of mental fitness during the COVID-19 pandemic among males and females in pre-clerkship and clerkship years
Table 4 Comparison of diet during the COVID-19 pandemic among males and females in pre-clerkship and clerkship years
Table 5 Comparison of sleep during the COVID-19 pandemic among males and females in pre-clerkship and clerkship years
Table 6 Comparison of physical activity during the COVID-19 pandemic among males and females in pre-clerkship and clerkship years

2.2 Scoring Method

The scoring methodology utilized involved assigning a score of 1 for selecting "agree" on the scale and 0 for selecting "disagree". A higher score within the general information category indicated a greater awareness of COVID-19-related content. The scores were categorized into two groups, distinguishing levels of knowledge: those scoring above the mean were classified as having high knowledge, while those scoring below the mean were categorized as having low knowledge. Similarly, an elevated score within the social media category denoted increased use. Conversely, a higher score within the mental and physical health category indicated a negative impact on health. The total scores were calculated for each participant and then divided by the total number of questions within each category. These resulting scores were subsequently multiplied by 100 to derive a percentage score ranging from 0 to 100%. Mean and standard deviation were computed separately based on gender and academic year utilizing these percentage scores.

2.3 Study Population and Sample Size

The study was conducted at Alfaisal University, a private institution located in Riyadh, Kingdom of Saudi Arabia, with an approximate total student population of 1200 at the time of survey distribution. Utilizing a convenience sampling method, we distributed the questionnaire to students via official email and various social media platforms, including WhatsApp and Instagram. Subsequently, we received a total of 146 responses, which represented approximately 12% of the total student population. After excluding participants who self-reported pre-existing psychological conditions prior to the COVID-19 pandemic, 119 responses met the eligibility criteria for inclusion in this study, accounting for approximately 9% of the student population.

2.4 Ethical Considerations

Ethical approval was obtained from the Alfaisal University Institutional Review Board (approval number IRB20091), and the research team followed the ethical guidelines set by the Saudi National Committee of Bioethics (NCBE) and the Research Policies & Procedures of Alfaisal University. Anonymity and confidentiality were ensured by not collecting any identifying data, and the research team only had access to the survey responses.

2.5 Statistical Analysis

The data extracted from the online survey were handled independently, ensuring the exclusion of confidential details. Manual filtering was performed to adhere to the predefined inclusion criteria, and subsequently, the data were analyzed using IBM SPSS Statistics for Windows, Version 28.0 by IBM Corp. Descriptive statistics were employed to present the overall characteristics of the study population, including frequencies and percentages for categorical variables, as well as means and standard deviations for continuous variables. Bivariate analysis was conducted using chi-square test for categorical and binary factors, while independent t-tests were employed for continuous variables, following a normality check using Kurtosis. Pearson correlation was utilized to examine the relationship between independent and dependent variables. Statistical significance was determined using a p value of less than 0.05.

3 Results

3.1 Demographics

A total of 146 responses were received, and after excluding participants with self-reported pre-existing psychological conditions prior to COVID, we analyzed 119 responses. Out of these 119 participants, 45 were male and 74 were female. In terms of academic years, 91 participants were in years 1–3 (pre-clerkship), while 28 participants were in years 4–5 (clerkship).

3.2 General Information Awareness About COVID-19

Table 1 presents the participants' responses regarding various aspects of COVID-19 knowledge. The results from the statistical analysis did not show any significant relation for the general knowledge about COVID-19 between gender groups (p = 0.75) or academic groups (p = 0.69).

3.3 Social Media Use Among Alfaisal Students

The overall mean score for social media use among the respondents was 62.8 ± 21.5. Table 2 displays the participants' responses regarding social media use during lockdown. The results indicated that female respondents exhibited slightly higher use with a mean score of 66.8 ± 20.0 compared to males with a mean score of 56.3 ± 22.4 (p = 0.01). However, there was no significant difference among the academic years (p = 0.51).

3.4 Mental Health Among Alfaisal Students

The overall mean score for mental health among the respondents was 40.7 ± 29.4. Table 3 presents the participants' responses regarding various aspects of mental fitness. The findings revealed that females had a significantly higher mental health score than males, with a mean score of 45.2 ± 29.0, compared to males with a mean score of 33.3 ± 29.1 (p = 0.03). However, there was no significant difference among the academic years (p = 0.59).

3.5 Physical Health Among Alfaisal Students

Overall physical health was assessed through diet, sleep patterns, and physical activity. The overall mean score for physical health among the respondents was 49.6 ± 14.4. The mean score for diet among the respondents was 97.5 ± 15.7. Table 4 presents the responses related to fast food, soda, and fruit intake. The mean score for sleep patterns among the respondents was 48.7 ± 20.3. Table 5 presents the participants' responses regarding changes in their sleep patterns during lockdown. The mean score for physical activity among the respondents was 45.7 ± 23.3. Table 6 presents the participants' responses regarding changes in their physical activity patterns during lockdown.

No significant differences were found among female and male respondents in terms of physical health, diet, sleep, or physical activity. Similarly, the results for physical health, diet, sleep, and physical activity did not show any significant differences between clerkship and pre-clerkship.

3.6 Correlation Between Social Media Use and Physical/Mental Health

The study demonstrated a notable correlation of 0.30 (p < 0.001) between social media use and mental health across all participants, indicating a low positive correlation and suggesting a potential adverse effect on mental health as social media use increased (Table 7). Similarly, a significant correlation of 0.33 (p < 0.001) was found between social media use and physical health among all participants, underscoring a potential adverse impact on physical health as social media use increased.

Table 7 Correlation coefficients of social media use with mental and physical health by gender and academic year

Furthermore, when considering the awareness of COVID-19 (Table 7), for students with knowledge scores lower than 78, a low positive correlation of 0.29 (0.02) was observed between social media use and mental health. In contrast, students with knowledge scores equal to or exceeding 78 displayed a slightly higher correlation of 0.34 (0.01), suggesting that individuals with a more comprehensive understanding of COVID-19 had a more negative impact on their mental health as their social media use increased. Regarding the relationship between social media use and physical health, irrespective of awareness levels, a similar correlation was identified (Table 7).

3.6.1 Gender-Based Analysis

Further analysis was conducted to assess the association between social media use and physical and mental health for each gender. Among females, a statistically significant correlation of 0.32 (p = 0.01) was found, indicating an adverse impact on their mental health with increased social media use. However, no significant correlation was observed among males (p = 0.21).

Regarding physical health, females exhibited an even higher correlation of 0.40 (p < 0.001), further emphasizing the negative influence of social media on their physical health. Conversely, no significant correlation was found among males.

3.6.2 Analysis by Academic Years

The correlation between social media use and physical and mental health was assessed independently for different academic years, as shown in Table 7. Among pre-clerkship students, a significant correlation of 0.26 (p = 0.01) was found, indicating a negative effect on their mental health with increased social media use. Similarly, among clerkship students, a significant correlation coefficient of 0.42 (p = 0.03) was observed, suggesting a negative impact on their mental health as well.

Regarding physical health, among pre-clerkship students, a significant correlation of 0.34 (p = 0.001) was found, highlighting the adverse impact of social media use on their physical well-being. However, among clerkship students, the association was not found to be significant.

4 Discussion

Given the limited initial understanding of the COVID-19 pandemic and its consequences, numerous research efforts were initiated to gain deeper insights into the situation. The main objective of this study was to understand the effects of social media on mental and physical health of medical students at Alfaisal University during the pandemic. The participants were analyzed by gender and academic year, aiming to raise awareness and educate the general population on how to avoid or mitigate potential negative impacts caused by social media use during COVID-19.

Our study revealed that males had a higher overall awareness of this data compared to females. However, when examining specific aspects, females demonstrated greater awareness of symptoms (70.95%) and ventilator use (66.2%). Additionally, when comparing academic years, clerkship participants exhibited higher overall awareness, while pre-clerkship students showed greater knowledge of transmission (85.27%) and prevention (83.74%).

Regarding social media use during the COVID-19 lockdown, females reported using it more for purposes, such as feeling preoccupied, escaping from problems, studying, and staying in touch with relatives, compared to males. On the other hand, males showed a higher use of social media for creating their social identity (40%) compared to females. Among academic years, pre-clerkship students exhibited higher use in these aspects than clerkship students. However, clerkship students reported more unsuccessful attempts to curb their social media use (71.4%).

Based on our study's outcomes, compelling evidence emerges concerning the negative impact of social media use on both physical and mental health, particularly among university female students and across various academic years. The findings distinctly reveal a substantial negative influence of social media on the mental well-being of female students compared to their male counterparts. This aligns with previous research indicating a higher prevalence of mental stress among women [9]. Moreover, our study highlighted a significant adverse effect on dietary choices, sleep patterns, and physical activity levels of pre-clerkship students compared to their peers in clerkship. Similar research in India also showed a negative impact on sleep cycles and physical activity among first year MBBS students due to excessive social media use [10].

These results accentuate the pressing need for targeted interventions and educational initiatives to cultivate healthier social media habits and bolster the overall well-being of individuals, particularly during times of crisis. They underscore the critical importance of promoting informed and responsible social media use while actively raising awareness about its potential negative effects on well-being.

According to previous research, it was observed that the COVID-19 pandemic had a significant impact on mental health [16]. Another study found that social media use played a crucial role in the development of panic related to the COVID-19 epidemic, particularly affecting female respondents more than males [11]. Consistent with these findings, our own research demonstrated that social media use had a considerably negative effect on the mental health of female students compared to male students. Our study revealed that a substantial 83.8% of females reported feeling preoccupied with the internet, while 66.2% experienced restlessness, moodiness, depression, or irritability when attempting to reduce or discontinue their internet use. In contrast, 40% of males expressed a diminished interest or pleasure in activities. These outcomes underscore the unique challenges faced by females in managing their mental well-being in relation to their engagement with social media.

Among academic years, the results indicated that the use of social media increased, and there was an adverse impact on the mental health of both pre-clerkship and clerkship years. Also, our findings revealed that 86.8% of students in pre-clerkship years reported staying on their phones for longer than intended, while 57.1% of students in clerkship years had difficulties concentrating on tasks, such as studying.

Existing research has indicated that higher levels of social media use among this student population are associated with lower levels of sports participation, reduced happiness, and increased socioemotional difficulties. Moreover, the use of smartphones or mobile phones at night has been linked to disrupted sleep patterns among adolescents, and frequent social media use at night is associated with perceived insufficient sleep [12]. A previous review study also reported lower levels of physical activity among adolescents during the lockdown, along with a higher proportion of time spent on digital screens [17].

Between physical health and social media use, our study analyzed that there is a correlation of 0.34 (0.001) among pre-clerkship, significantly suggesting that as the use of social media increased, there was harmful impact on their physical health. In terms of eating habits, clerkship students reported excellent habits (100%) compared to pre-clerkship students. Regarding sleep changes, pre-clerkship students experienced a more negative impact, with 72.5% reporting taking more time to fall asleep. When it comes to physical activity, such as climbing stairs and lifting objects, pre-clerkship students indicated a more negative effect than clerkship students, with 76.9% stating that it was worse than a year ago.

When considering gender, females had the association of 0.4 (< 0.001), showing a significant harmful impact on physical health as the use of social media increased. Females reported better eating habits (98.6%) compared to males. However, females also experienced a negative impact on sleep, with 75% reporting taking more time to fall asleep. Moreover, females had a more negative effect on physical activity, with 74.3% stating that it was worse than a year ago, compared to males.

Acknowledging the limitations inherent in our study is crucial. First, the relatively small sample size we worked with may impact the generalizability of our results. Another constraint lies in our study's specific focus on the Alfaisal student cohort, potentially limiting its representation of the broader Saudi population. Future research incorporating a larger and more diverse sample size is imperative to gain a deeper understanding of the true impact of social media.

In conclusion, this study highlights the significance of understanding the effects of social media on the mental and physical health of individuals, particularly during challenging times like the COVID-19 pandemic. By examining the experiences of medical students at Alfaisal University, we have shed light on the potential impacts of social media use and emphasized the importance of raising awareness and providing support to mitigate any negative effect. Our findings contribute to the growing body of knowledge regarding the impacts of social media on mental and physical health, emphasizing the need for informed interventions and strategies to promote a healthy balance in social media use. By addressing these issues, we can strive to foster a more positive and supportive online environment for individuals, both during and beyond times of crisis. Future research should aim to overcome this study’s limitations and include diverse populations to further enrich our understanding of the complex relationship between social media and health outcomes.