Are pickles cucumbers? Or zucchinis?
Are you channeling your best self with this comment? (If you're not sure, check out our Code of Conduct.)
Both! But traditional pickles are cucumbers.
Many, many things can be pickled - radishes, cauliflower, peppers....
If you pick up a jar of generic "pickles", they are cucumbers, usually Kirbys. Pickled zucchini would be labeled as such.