Sociologyisthestudyofsociety.[1]Itisasocialscience(withwhichitisinformallysynonymous)thatusesvariousmethodsofempiricalinvestigation[2]andcriticalanalysis[3]todevelopandrefineabodyofknowledgeabouthumansocialactivity,oftenwiththegoalofapplyingsuchknowledgetothepursuitofsocialwelfare.Subjectmatterrangesfromthemicrolevelofagencyandinteractiontothemacrolevelofsystemsandsocialstructures.[4]Sociologyisbothtopicallyandmethodologicallyaverybroaddiscipline.Itstraditionalfocuseshaveincludedsocialstratification(i.e.,classrelations),religion,secularization,modernity,cultureanddeviance,anditsapproacheshaveincludedbothqualitativeandquantitativeresearchtechniques.Asmuchofwhathumansdofitsunderthecategoryofsocialstructureandagency,sociologyhasgraduallyexpandeditsfocustofurthersubjects,suchasmedical,militaryandpenalinstitutions,theinternet,andeventheroleofsocialactivityinthedevelopmentofscientificknowledge.Therangeofsocialscientificmethodshasalsobroadlyexpanded.Thelinguisticandculturalturnsofthemid-20thcenturyledtoincreasinglyinterpretative,hermeneutic,andphilosophicapproachestotheanalysisofsociety.Conversely,recentdecadeshaveseentheriseofnewmathematicallyandcomputationallyrigoroustechniques,suchasagent-basedmodellingandsocialnetworkanalysis.