They are retained when advancing to the next stage but lost entirely when the player loses a life.
These items are preserved as the player advances to the subsequent stage, but they are completely lost when the player suffers a loss of life.