Both bacteria and archaea are both prokaryotes. The cell provides tensile strength and is rigid. The cell wall of prokaryotes also serves as the site of action to check the activity of the drug.
There are two types of bacteria, such as gram positive and gram negative and these bacteria can be distinguished from the cell wall. Bacteria with gram positive cell wall have a thick peptidoglycan layer. In between the cell wall and plasma membrane is the periplasmic space, which contains teichoic acid such as ribitol or glycerol found in gram positive bacteria cell walls.
Teichoic acid regulates movements of cations, prevents cell lysis. It also helps to detects the cell as it possess antigenic character. The peptidoglycan is composed of repeating unit of disaccharide forming a structure of NAG and NAM residues respectively.
These N-acetyl glucosamine and N- acetyl muramic acid repeating units form the backbone linked by polypeptides. The mechanism of action of penicillin is also the same, it attacks the cell wall by disrupting the linkage and damaging the cell due to loss of structure.
Gram negative cell wall consist of a thin peptidoglycan layer, followed by an outer membrane. In between these 2 layers lies the periplasmic space. As the peptidoglycan layer is thinner it has more chances of getting damage from the outer environment.
Lipoproteins, lipopolysaccharide and phosphate is present in the outer membrane. Outer membrane shows resistance to bile salts, antibiotics, enzymes, detergents and various other things. There are pores present on the outer membrane which allows the entry of biomolecules such as amino acids, carbohydrates, vitamins and fluids.
There is a lipid molecule present in the outer membrane called Lipid A. After the cell has died, lipid A is released. As gram positive cell wall has teichoic acid, in gram negative lipopolysaccharide is attached to lipid A.
The function of lipid A is that it acts an endotoxin causing vessel dilation, fever, blood clotting and others. Archaeal cell walls are composed of not peptidoglycan but proteins and polysaccharide. When archaea is seen under microscope it resembles gram negative bacteria although they are devoid of peptidoglycan.
Although they do not peptidoglycan but they have pseudo peptidoglycan containing N-acetyltalosaminuronic acid.