Strengthening exercises work muscles as they move against resistance. This resistance can come from workout machines, free weights or barbells, elastic bands, water, stairs, hills, cans of vegetables from the pantry -- even your own body weight as you do a pushup.
For example, walking on a treadmill (which is aerobic exercise) becomes strengthening as you raise the incline of the treadmill.