Cell wall is common to all bacterial cells except a few like mycoplasmas. Similarly, thylakoids are the specialized membranes of flattened discs that contain light sensitive pigments. These structures are commonly present in cyanobacteria - the photosynthetic bacteria, and they help in photosynthesis. Therefore, these structures are not common to all bacterial cells.