\begin{table}[h]
\centering
\renewcommand{\arraystretch}{1.4}
\begin{tabular}{|c|p{6cm}|p{6cm}|}
\hline
\textbf{S.No.} & \textbf{Caste} & \textbf{Class}
\hline
1.Basis of Formation & Caste is based on birth and is hereditary. & Class is based on economic and social status.
\hline
2.Social Mobility & It follows a rigid structure with limited mobility. & It allows social mobility based on achievements.
\hline
3.Marriage Practices & Marriage usually takes place within the same caste (endogamy). & Inter-class marriages are more common.
\hline
4.Occupation & Occupation is often traditionally determined. & Occupation is based on skills, education, and choice.
\hline
5.Openness & It is a closed system with strict rules. & It is an open system with flexible boundaries.
\hline
6.ocieties. & More prominent in traditional societies. & More prominent in modern industrial societies.
\hline
\end{tabular}
\caption{Difference between Caste and Class}
\end{table}