Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • GfG 160: Daily DSA
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Biology
  • Biotechnology
  • Biochemistry
  • Genetics
  • Ecology
  • Evolution
  • Anatomy
  • Physiology
  • Immunology
  • Taxonomy
  • Botany
  • Zoology
  • Microbiology
  • Cell Biology
  • Cell Signaling
  • Diversity in Life Form
  • Molecular Biology
Open In App
Next Article:
What are Living Organisms Made Up of?
Next article icon

Biology – The Study of Life and Living Organisms

Last Updated : 27 May, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

The term "biology" is derived from the Greek terms bios (meaning "life") and logos (meaning "study" or "discourse"). It is the study of living organisms and the essential processes that support their existence.

  • Biology is divided into main branches such as botany (plants), zoology (animals), and microbiology (microorganisms), and it explores the chemical and physical forces shaping life, from molecules to ecosystems, focusing on all the physicochemical aspects of life.
  • The increasing trend of inter-disciplinary research has led to the integration of knowledge from fields like chemistry, medicine, and physics with biology, resulting in areas such as biochemistry, biomedicine, and biophysics.

Biology Definition

Standard Definition of Biology:

"Biology is the scientific study of life, a natural science with a wide-ranging scope, united by several core themes that bind it together as a cohesive field."

~ National Academy of Sciences (NAS)

Other Popular Definitions: Here are definitions from different scientists, each offering a unique view of biology, focusing on life’s classification, evolution, and how organisms interact with their surroundings:

"Biology is the study of life and living organisms, categorizing them based on their forms, functions, and behaviors."

~ Aristrotle(384–322 BCE)
(Ancient Greek Philosopher and Scientist)

"Biology is the study of life in the context of evolution, focusing on how organisms adapt and evolve over time through natural selection."

~ Charles Darwin (1809-1882)
(English naturalist and biologist)

"Biology is the study of organisms and their interactions with each other and their environments, emphasizing the role of evolutionary processes in shaping biodiversity."

~ Ernst Mayr(1904-2005)
(Evolutionary biologist and ornithologist)

This guide covers key topics in biology, from the basics concepts to specialized areas like genetics, human and plant physiology, and ecology. It highlights how biology helps us explore organisms, their functions, and their interactions with the environment and important topics are also discussed, with quizzes included to test your knowledge.

Let’s explore the core concepts of biology and have fun with some quizzes to enhance your learning!

Biology Fundamentals

Lets starts with the fundamentals of biology where you get the basic knowledge of life, its characteristics, and the key principles that shape living organisms and their interactions with each other and the environment.

  • Branches of Biology
  • Building Blocks of Life
  • The Characteristics of Life
  • What are the Ingredients of Life?
  • Fuel for Living Things
  • Biological Nomenclature
  • Biological Classification
  • Real-life Applications of Biology
  • Quiz: Biology Fundamentals

Exploring Life

This field focuses on the extensive variety of life forms on Earth, classified into different kingdoms such as Monera, Protista, Fungi, Plantae, and Animalia. It explores the unique characteristics of each group, highlighting their differences in structure, function, and behavior. The classification system helps in arranging organisms according to their similarities and evolutionary relationships.

  • Classification of Organisms
  • Protists as Decomposers
  • Viruses: Structure, Classification, Characteristics & Facts
  • Microorganisms and Symbiosis
  • What is Homeostasis?
  • Quiz: Diversity in the Living World
  • Test Your Knowledge: Exploring Life

Cell

It is about the structure and function of prokaryotic and eukaryotic cells. Key organelles including the nucleus, mitochondria, and ribosomes play essential roles in processes like protein synthesis, energy production, and cell division. The plasma membrane regulates the movement of substances in and out of the cell. Cell structure is important for studying cellular processes and their role in overall organism function.

  • Cell Theory
  • Cell Organelles
  • Cell Division
  • Cell Cycle
  • Difference between Archaea vs. Bacteria
  • Difference between Virus and Bacteria
  • The Role of Prokaryotes in Ecosystems
  • Quiz: Cell
  • Activity: Cell

Plant Physiology

Plant physiology focuses on the functions and processes that occur in plants, including photosynthesis, respiration, and nutrient transport. It explores how plants convert light energy into chemical energy and use water and minerals for growth. The flow of water and nutrients through vascular tissues is essential for plant health and development.

  • Photosynthesis
  • Nutrition in Plants
  • What are Metabolites?
  • Excretion in Plants
  • Transpiration
  • Transportation in Plants
  • Plant Growth and Development
  • Plant Sensory Systems and Responses
  • Plant Hormones
  • Quiz: Plant Physiology
  • Activity: Plant Physiology

Plants and Animals

This focuses on the arrangement of cells, tissues, organs, and organ systems in both flora and fauna. In animals, tissues including epithelial, connective, muscular, and nervous tissues form the foundation of organ systems like the digestive, circulatory, and nervous systems. In plants, tissues such as meristematic and permanent tissues contribute to growth, while vascular tissues transport water, nutrients, and food.

  • Plant Anatomy
  • Human Anatomy
  • Structure and types of Animal Tissues
  • Plant Morphology
  • Animal Morphology
  • Quiz: Plants and Animals
  • Activity: Plants and Animals

Did You Know?

  • The nucleus contains the cell’s genetic material (DNA) and controls its activities. It’s is frequently called the "brain" of the cell, directing growth, reproduction, and protein synthesis.
  • Red blood cells lack a nucleus when mature. This allows more space for hemoglobin, the protein that carries oxygen.
  • Chloroplasts in plant cells and mitochondria in animal cells are believed to have evolved from ancient bacteria that were engulfed by a host cell in a symbiotic relationship.

Human Physiology

Human physiology studies the functions of the body's systems, such as digestive, respiratory, circulatory, and nervous systems. It examines how organs and tissues work together to maintain homeostasis and support overall health. The regulation of bodily functions is influenced by feedback mechanisms, hormones, and neural signals.

  • Human Digestive System
  • Human Respiratory System
  • Human Circulatory System
  • Human Excretory System
  • Human Nervous System
  • Exocrine System
  • Endocrine System
  • Difference between Endocrine and Exocrine Glands
  • Muscular System
  • Skeletal Systems
  • Integumentary System
  • Quiz: Human Physiology

Did You Know?

  • The liver is one of the few organs in the human body that can regenerate itself, even after significant damage, as long as a portion of it remains intact.
  • The human eye is capable of perceiving more than 10 million different colors, and it can adjust to a vast range of light levels, from the bright sun to total darkness.
  • There are approximately 10 times more bacterial cells in and on the human body than human cells, playing a important role in digestion and immune function.
  • The human skin renews itself completely every 28-30 days, shedding old cells and replacing them with new ones.

Reproduction

Reproduction is the biological process by which organisms produce offspring, ensuring the continuation of species. It can be asexual, involving a single parent and producing genetically identical offspring, or sexual, requiring two parents and resulting in genetic variation. In animals and plants, reproduction involves complex processes such as gamete formation, fertilization, and development.

  • Asexual and Sexual Reproduction
  • Plant Reproduction
  • Modes of Reproduction in Plants
  • Difference between Angiosperms versus Gymnosperms
  • Human Reproductive System
  • Reproductive Phase of life in Humans
  • Reproductive Health
  • Quiz: Reproduction

Genetics and Evolution

Genetics focuses on the inheritance of traits through genes, with principles like Mendel’s laws regulating dominant and recessive alleles. Evolution describes how genetic variations lead to species adaptation over time through natural selection. Genetic mutations contribute to diversity, fueling the process of evolution. The combination of genetic inheritance and evolutionary mechanisms drives the adaptation and survival of species.

  • Gregor Mendel and the principle of Inheritance
  • Mendel's law of Inheritance
  • Chromosomal Theory of Inheritance
  • Molecular Genetics
  • Gene Expression and Regulation
  • Evolutionary Biology
  • Modern Synthetic Theory of Evolution
  • Quiz: Genetics and Evolution
  • Activity: Verify the Mendel’s Law of Independent Assortment

Health and Diseases

Human health focuses on the proper functioning of the body and its systems, whereas diseases are conditions that disrupt this balance. Diseases can be communicable (caused by infections) or non-communicable (due to lifestyle, genetics, or environmental factors). The immune system plays a critical role in defending the body against pathogens, while factors like nutrition and hygiene influence health. Studying human health helps in preventing, diagnosing, and treating diseases, improving overall well-being.

  • Human Health and Diseases
  • Common Diseases in Humans
  • Immunity and its types
  • Antibody
  • Antigens
  • How does Antibody Destroy Pathogens?
  • Difference Between Antigen and Antibody
  • What is ELISA?
  • Quiz: Health and Diseases

Ecology and Environment

Ecology studies the relationships between organisms and their environment, focusing on ecosystems, population dynamics, and energy flow. It examines how biotic (living) and abiotic (non-living) factors affect the distribution and abundance of species. Environmental issues like pollution, climate change, and deforestation are critical topics, as they affect biodiversity and ecosystem health. Protecting the environment is essential for sustaining life on Earth and ensuring ecological balance.

  • Ecosystem
  • Population Ecology
  • Community Ecology
  • Weather and Climate
  • Environmental Issues and Solutions
  • Biodiversity
  • Biogeochemical Cycles
  • Difference between Environment and Ecology
  • Quiz: Ecology and Environment

Biotechnology

Biotechnology involves the use of living organisms or biological systems to create products and technologies for various fields. It includes genetic engineering, where DNA is modified for medical, agricultural, and industrial purposes. Applications in medicine include gene therapy, vaccine development, and diagnostic tools. In agriculture, biotechnology enables the creation of genetically modified crops, while environmental biotechnology focuses on waste management and bioremediation.

  • Genetic Engineering
  • DNA and Biotechnology
  • How is Biotechnology used in our Daily Life?
  • Biotechnology and its Principle
  • What is the Process of Biotechnology ?
  • Biotechnology and its Applications
  • Central Dogma of Molecular Biology
  • Gene Therapy
  • Quiz: Biotechnology

Facts about Biology

Some important facts of biology are:

  • Facts About Biogas
  • Facts About Anatomy
  • Interesting Facts About Lungs
  • Facts About Ribosomes
  • Facts About Cholesterol
  • Facts About Evolution
  • Facts about Animal Cell
  • Facts About Vitamins and Minerals

NCERT Biology (Class 8 - Class 12th)

Important biology questions for CBSE classes 8–12 are available here. Our subject matter experts and educators have created the questions with consideration for the NCERT curriculum and syllabus. Students can easily do well on their board exams by figuring out the answers to these questions. Following are the links to the NCERT solutions from class 8 to class 12:

  • NCERT Solutions Class 8 Biology
  • NCERT Solutions Class 9 Biology
  • NCERT Solutions Class 10 Biology
  • NCERT Solutions Class 11 Biology
  • NCERT Solutions Class 12 Biology

CBSE Biology (Class 8 - Class 12th)

Quick notes are a great way for students to quickly revise the entire syllabus. CBSE biology notes offer a concise summary of each chapter, highlighting key points that cover all concepts from the NCERT syllabus. These notes are designed to help students prepare efficiently for exams. Following are the links to the CBSE biology notes from class 8 to class 12

  • CBSE Class 8 Biology Notes
  • CBSE Class 9 Biology Notes
  • CBSE Class 10 Biology Notes
  • CBSE Class 11 Biology Notes
  • CBSE Class 12 Biology Notes

Note: you can also checkout, important topics from boards perspective.

  • Class 12th Biology Important Topics
  • Class 11th Biology Important Topics

Why is Biology Important ?

The study of biology has helped humans advance very far in their field. Through the exploration of various biological concepts, we've made remarkable advancement, Few of the examples are given below:

  • Improves Human Health: Biology helps in the study of diseases, leading to the development of vaccines, medicines, and treatments that save lives.
  • Advances Agriculture: It enhances crop production, pest resistance, and food security, helping meet the demands of a growing global population.
  • Protects the Environment: By studying ecosystems and biodiversity, biology promotes conservation efforts and sustainable practices that safeguard the planet.
  • Drives Innovation in Biotechnology: Biology fuels breakthroughs in genetic engineering, medicine, and biofuels, providing solutions to medical, agricultural, and environmental issues.
  • Supports Forensic Science : Advances in genetics and DNA analysis have transformed forensic science, enabling the resolution of crimes and identification of individuals.

Career & Jobs in Biology

Biology offers a wide range of career opportunities in fields such as healthcare, research, environmental conservation, biotechnology, and education.

Degree

Career

Avg Salary (PER ANNUM)

BSC ( Biology)

  • Research Assistant
  • Lab Technician
  • Environmental Consultant
  • Teaching Assistant
  • INR-₹3,00,000 - ₹5,00,000
  • USD- $4,000 - $6,000

MSc (Biology)

  • Biotechnologist
  • Geneticist
  • Environmental Scientist
  • Microbiologist
  • Clinical Researcher
  • INR-₹5,00,000 - ₹8,00,000
  • USD-$6,500 - $10,500

MSc (Specialized Fields)

  • Biotech Researcher
  • Environmental Consultant
  • Bioinformatician
  • Zoologist
  • Botanist
  • INR-₹8,00,000 - ₹12,00,000
  • USD- $10,500 - $15,500


PhD (Biology/Biotech/Env. Science)

  • Senior Research Scientist
  • University Professor
  • Biotech Industry Specialist
  • INR-₹12,00,000 - ₹20,00,000
  • USD- $15,500 - $26,000

Advanced Roles (Post-PhD)

  • Pharmaceutical Research Lead
  • Forensic Scientist
  • Environmental Policy Advisor
  • INR-₹20,00,000 - ₹40,00,000
  • USD-$26,000 - $52,000

Summary

Biology is the branch of science that focuses on the study of living organisms, examining their origins, structure, function, behavior, and distribution. It explores into the processes that support life, ranging from the molecular activities within cells to the complex interactions among organisms in ecosystems. The field also explores how organisms evolve, adapt, and interact with their environments over time. Biology plays a key role in addressing critical issues in health, conservation, and environmental sustainability.

Common Questions on Biology

What is the meaning of biology ?

The word "biology" is derived from the Greek words "bios" meaning life, and "logos" meaning study or discourse. It is the scientific study of life and living organisms, focusing on their structure, function, growth, and evolution.

What is biology ?

Biology is the scientific study of life and living organisms, including their structure, function, growth, and evolution. It explores how organisms interact with each other and their environment.

What is a biology simple definition?

Biology is the science that explores how living things grow, survive, and work together in nature.

What jobs to do with Biology?

Here are some job titles you can pursue with a background in biology:

  • Biologist
  • Environmental Scientist
  • Genetic Counselor
  • Zoologist
  • Microbiologist
  • Biomedical Engineer
  • Biotechnologist
  • Ecologist
  • Pharmacologist

Does Biology have a full form?

No, biology does not have a full form; it is derived from the Greek words "bios" (life) and "logos" (study).

What is called Biology ?

Biology is the study of living organisms and their interactions with the environment. It focuses on the structure, function, growth, and evolution of life forms.

Suggested Quiz
10 Questions

What is the primary focus of the study of biology?

  • A

    The study of chemical reactions in non-living things

  • B

    The scientific study of life and living organisms

  • C

    The analysis of physical laws governing motion

  • D

    The exploration of celestial bodies and space

Explanation:


The primary focus of biology is the scientific study of life and living organisms because it seeks to understand their structure, function, growth, origin, evolution, and behavior.

Which branch of biology focuses on the study of heredity and genetic variation?

  • A

    Ecology

  • B

    Genetics

  • C

    Physiology

  • D

    Biochemistry

Explanation:

Genetics is the branch of biology that studies heredity and genetic variation. It focuses on how traits are passed from parents to offspring and the genetic differences within populations, explaining how traits and characteristics are inherited and vary.

What is the primary role of photosynthesis in living organisms?

  • A

    To produce carbon dioxide

  • B

    To convert sunlight into chemical energy

  • C

    To break down glucose for energy

  • D

    To absorb nutrients from the soil

Explanation:

The primary role of photosynthesis is to convert light energy into chemical energy, producing glucose and oxygen for living organisms.

In the context of ecology, what does the term "biodiversity" refer to?

  • A

    The variety of chemical compounds in an ecosystem

  • B

    The variety of life forms within a given habitat

  • C

    The number of species in a single organism

  • D

    The complexity of food webs in an ecosystem

Explanation:

In ecology, "biodiversity" refers to the variety of life forms, including species, ecosystems, and genetic diversity, within a given habitat or across the planet.

What is the function of cell membranes in living organisms?

  • A

    To store genetic information

  • B

    To regulate the movement of substances in and out of the cell

  • C

    To produce energy through respiration

  • D

    To synthesize proteins

Explanation:

The function of cell membranes in living organisms is to regulate the movement of substances in and out of the cell, maintaining homeostasis and protecting the cell.

Which of the following kingdoms includes multicellular, autotrophic organisms?

  • A

    Fungi

  • B

    Protista

  • C

    Plantae

  • D

    Animalia

Explanation:

The Plantae kingdom includes multicellular, autotrophic organisms, which make their own food through photosynthesis.

What is the main focus of evolutionary biology?

  • A

    The classification of living organisms

  • B

    The study of interactions between organisms and their environment

  • C

    The mechanisms of species change over time

  • D

    The chemical processes within organisms

Explanation:

The main focus of evolutionary biology is the study of the mechanisms of species change over time, including natural selection, genetic variation, and adaptation.

In terms of biological classification, what is the highest taxonomic rank?

  • A

    Family

  • B

    Genus

  • C

    Domain

  • D

    Species

Explanation:

The highest taxonomic rank in biological classification is Domain. It is above the recognisedin the hierarchy, with three recognized domains: Bacteria, Archaea, and Eukarya.

Which of the following best describes the role of enzymes in biological processes?

  • A

    They provide structural support to cells

  • B

    They act as catalysts to speed up chemical reactions

  • C

    They store genetic information

  • D

    They transport nutrients across cell membranes

Explanation:

Enzymes act as catalysts to speed up chemical reactions in biological processes without being consumed in the reaction.

What is the significance of the cell theory in biology?

  • A

    It explains the origin of life

  • B

    It states that all living organisms are composed of cells

  • C

    It describes the process of evolution

  • D

    It outlines the functions of various organ systems

Explanation:

The significance of cell theory in biology is that it states all living organisms are composed of cells, which are the basic units of life.

Quiz Completed Successfully
Your Score :   2/10
Accuracy :  0%
Login to View Explanation
1/10 1/10 Next >

Next Article
What are Living Organisms Made Up of?

S

shagunsy7xh
Improve
Article Tags :
  • School Learning
  • School Biology

Similar Reads

  • What are Living Organisms Made Up of?
    Robert Hooke discovered the cells in the year 1665. He was examining a thin slice of a cork, he saw that the cork resembled the structure of a honeycomb with too many little compartments. Then with the microscope, he observed these compartments and called them cells, meaning "little room" in Latin.
    7 min read
  • Why are Living Organisms Classified?
    Living organisms are classified for many reasons such as organizing diversity, nomenclature, understanding of the evolutionary relationship between organisms, identifying characteristics, conservation, and biodiversity of organisms, for education and research purposes and their applications in diffe
    6 min read
  • Diversity in Living Organisms - Classification Overview | Class 9 Biology
    Our planet is gifted with various living life forms, which change in size, shape, environment, nourishment, generation, and much more. In light of their actual highlights and their environment, these creatures of Kingdom Animalia are arranged into various requests and classes. Diversity in living or
    6 min read
  • What is Ecology? Types, Importance And Examples
    Ecology is the study of the interactions between different species and their surroundings. The Greek terms "Oikos" and "Logos" (which translate to "home, habitat, or place of residence) are the roots of the English word "ecology." German zoologist Ernst Haeckel first used the word "ecology" in 1866.
    8 min read
  • How Many types of Organism are There?
    About 8.7 million species of living organisms are identified on Earth. It includes plants, animals, insects, fungi, and microorganisms. Only over 1.2 million species, most of which are insects, have been found and described. Anything composed of cells that is living is considered an organism. The mo
    6 min read
  • NEET Exam Biology : Full Study Material and Syllabus
    NEET Biology Syllabus and Study Material: NEET commonly refers to the National Eligibility cum Entrance Test in India. NEET is a national-level entrance examination for students who wish to pursue undergraduate medical and dental courses in government or private medical colleges and dental colleges
    8 min read
  • CBSE Solutions for Class 12 Biology Chapter 11 Organisms and Populations
    *As per the revised curriculum of CBSE Syllabus 2023-24, this chapter, previously known as Chapter 13, has now been renumbered as Chapter 11. Stay updated with the latest changes in the curriculum. Organism and Populations Class 12 NCERT Solution is all about the basics of organisms, populations, an
    9 min read
  • NCERT Notes of Class 11 Biology Chapter 7 Structural Organisation in Animals
    Notes on NCERT for Class 11 Biology Chapter 7 Structural Organisation in Animals: Structural organization in animals refers to the arrangement of cells, tissues, organs, and organ systems that work together through the division of labour and ensure the survival of the whole body. In this article, yo
    8 min read
  • Nutrition in Living Organism
    Nutrition is the process by which we obtain and consume food that is necessary for growth and overall health. Nutrition can be divided into two main types: The autotrophic mode of nutrition, where organisms produce their own food, and the heterotrophic mode of nutrition, where organisms consume othe
    8 min read
  • Levels of Organization in Animals
    The levels of organization in animals are arranged hierarchically, starting with cells, the basic unit of life. Groups of similar cells form tissues, which perform specific functions. Tissues combine to create organs, each with distinct roles in the body. Organs work together within organ systems to
    7 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

'); // $('.spinner-loading-overlay').show(); let script = document.createElement('script'); script.src = 'https://assets.geeksforgeeks.org/v2/editor-prod/static/js/bundle.min.js'; script.defer = true document.head.appendChild(script); script.onload = function() { suggestionModalEditor() //to add editor in suggestion modal if(loginData && loginData.premiumConsent){ personalNoteEditor() //to load editor in personal note } } script.onerror = function() { if($('.editorError').length){ $('.editorError').remove(); } var messageDiv = $('
').text('Editor not loaded due to some issues'); $('#suggestion-section-textarea').append(messageDiv); $('.suggest-bottom-btn').hide(); $('.suggestion-section').hide(); editorLoaded = false; } }); //suggestion modal editor function suggestionModalEditor(){ // editor params const params = { data: undefined, plugins: ["BOLD", "ITALIC", "UNDERLINE", "PREBLOCK"], } // loading editor try { suggestEditorInstance = new GFGEditorWrapper("suggestion-section-textarea", params, { appNode: true }) suggestEditorInstance._createEditor("") $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = true; } catch (error) { $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = false; } } //personal note editor function personalNoteEditor(){ // editor params const params = { data: undefined, plugins: ["UNDO", "REDO", "BOLD", "ITALIC", "NUMBERED_LIST", "BULLET_LIST", "TEXTALIGNMENTDROPDOWN"], placeholderText: "Description to be......", } // loading editor try { let notesEditorInstance = new GFGEditorWrapper("pn-editor", params, { appNode: true }) notesEditorInstance._createEditor(loginData&&loginData.user_personal_note?loginData.user_personal_note:"") $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = true; } catch (error) { $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = false; } } var lockedCasesHtml = `You can suggest the changes for now and it will be under 'My Suggestions' Tab on Write.

You will be notified via email once the article is available for improvement. Thank you for your valuable feedback!`; var badgesRequiredHtml = `It seems that you do not meet the eligibility criteria to create improvements for this article, as only users who have earned specific badges are permitted to do so.

However, you can still create improvements through the Pick for Improvement section.`; jQuery('.improve-header-sec-child').on('click', function(){ jQuery('.improve-modal--overlay').hide(); $('.improve-modal--suggestion').hide(); jQuery('#suggestion-modal-alert').hide(); }); $('.suggest-change_wrapper, .locked-status--impove-modal .improve-bottom-btn').on('click',function(){ // when suggest changes option is clicked $('.ContentEditable__root').text(""); $('.suggest-bottom-btn').html("Suggest changes"); $('.thank-you-message').css("display","none"); $('.improve-modal--improvement').hide(); $('.improve-modal--suggestion').show(); $('#suggestion-section-textarea').show(); jQuery('#suggestion-modal-alert').hide(); if(suggestEditorInstance !== null){ suggestEditorInstance.setEditorValue(""); } $('.suggestion-section').css('display', 'block'); jQuery('.suggest-bottom-btn').css("display","block"); }); $('.create-improvement_wrapper').on('click',function(){ // when create improvement option clicked then improvement reason will be shown if(loginData && loginData.isLoggedIn) { $('body').append('
'); $('.spinner-loading-overlay').show(); jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id }), success:function(result) { $('.spinner-loading-overlay:eq(0)').remove(); $('.improve-modal--overlay').hide(); $('.unlocked-status--improve-modal-content').css("display","none"); $('.create-improvement-redirection-to-write').attr('href',writeUrl + 'improve-post/' + `${result.id}` + '/', '_blank'); $('.create-improvement-redirection-to-write')[0].click(); }, error:function(e) { showErrorMessage(e.responseJSON,e.status) }, }); } else { if(loginData && !loginData.isLoggedIn) { $('.improve-modal--overlay').hide(); if ($('.header-main__wrapper').find('.header-main__signup.login-modal-btn').length) { $('.header-main__wrapper').find('.header-main__signup.login-modal-btn').click(); } return; } } }); $('.left-arrow-icon_wrapper').on('click',function(){ if($('.improve-modal--suggestion').is(":visible")) $('.improve-modal--suggestion').hide(); else{ } $('.improve-modal--improvement').show(); }); const showErrorMessage = (result,statusCode) => { if(!result) return; $('.spinner-loading-overlay:eq(0)').remove(); if(statusCode == 403) { $('.improve-modal--improve-content.error-message').html(result.message); jQuery('.improve-modal--overlay').show(); jQuery('.improve-modal--improvement').show(); $('.locked-status--impove-modal').css("display","block"); $('.unlocked-status--improve-modal-content').css("display","none"); $('.improve-modal--improvement').attr("status","locked"); return; } } function suggestionCall() { var editorValue = suggestEditorInstance.getValue(); var suggest_val = $(".ContentEditable__root").find("[data-lexical-text='true']").map(function() { return $(this).text().trim(); }).get().join(' '); suggest_val = suggest_val.replace(/\s+/g, ' ').trim(); var array_String= suggest_val.split(" ") //array of words var gCaptchaToken = $("#g-recaptcha-response-suggestion-form").val(); var error_msg = false; if(suggest_val != "" && array_String.length >=4){ if(editorValue.length { jQuery('.ContentEditable__root').focus(); jQuery('#suggestion-modal-alert').hide(); }, 3000); } } document.querySelector('.suggest-bottom-btn').addEventListener('click', function(){ jQuery('body').append('
'); jQuery('.spinner-loading-overlay').show(); if(loginData && loginData.isLoggedIn) { suggestionCall(); return; } // script for grecaptcha loaded in loginmodal.html and call function to set the token setGoogleRecaptcha(); }); $('.improvement-bottom-btn.create-improvement-btn').click(function() { //create improvement button is clicked $('body').append('
'); $('.spinner-loading-overlay').show(); // send this option via create-improvement-post api jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id }), success:function(result) { $('.spinner-loading-overlay:eq(0)').remove(); $('.improve-modal--overlay').hide(); $('.create-improvement-redirection-to-write').attr('href',writeUrl + 'improve-post/' + `${result.id}` + '/', '_blank'); $('.create-improvement-redirection-to-write')[0].click(); }, error:function(e) { showErrorMessage(e.responseJSON,e.status); }, }); });
"For an ad-free experience and exclusive features, subscribe to our Premium Plan!"
Continue without supporting
`; $('body').append(adBlockerModal); $('body').addClass('body-for-ad-blocker'); const modal = document.getElementById("adBlockerModal"); modal.style.display = "block"; } function handleAdBlockerClick(type){ if(type == 'disabled'){ window.location.reload(); } else if(type == 'info'){ document.getElementById("ad-blocker-div").style.display = "none"; document.getElementById("ad-blocker-info-div").style.display = "flex"; handleAdBlockerIconClick(0); } } var lastSelected= null; //Mapping of name and video URL with the index. const adBlockerVideoMap = [ ['Ad Block Plus','https://media.geeksforgeeks.org/auth-dashboard-uploads/abp-blocker-min.mp4'], ['Ad Block','https://media.geeksforgeeks.org/auth-dashboard-uploads/Ad-block-min.mp4'], ['uBlock Origin','https://media.geeksforgeeks.org/auth-dashboard-uploads/ub-blocke-min.mp4'], ['uBlock','https://media.geeksforgeeks.org/auth-dashboard-uploads/U-blocker-min.mp4'], ] function handleAdBlockerIconClick(currSelected){ const videocontainer = document.getElementById('ad-blocker-info-div-gif'); const videosource = document.getElementById('ad-blocker-info-div-gif-src'); if(lastSelected != null){ document.getElementById("ad-blocker-info-div-icons-"+lastSelected).style.backgroundColor = "white"; document.getElementById("ad-blocker-info-div-icons-"+lastSelected).style.borderColor = "#D6D6D6"; } document.getElementById("ad-blocker-info-div-icons-"+currSelected).style.backgroundColor = "#D9D9D9"; document.getElementById("ad-blocker-info-div-icons-"+currSelected).style.borderColor = "#848484"; document.getElementById('ad-blocker-info-div-name-span').innerHTML = adBlockerVideoMap[currSelected][0] videocontainer.pause(); videosource.setAttribute('src', adBlockerVideoMap[currSelected][1]); videocontainer.load(); videocontainer.play(); lastSelected = currSelected; }

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences