Go to: https://overpass-turbo.eu/ Some documentation here
You can type in something like "Park in Pennsylvania"
Which will generate a query like this:
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“park in pennsylvania”
*/
[out:json][timeout:25];
// fetch area “pennsylvania” to search in
{{geocodeArea:pennsylvania}}->.searchArea;
// gather results
(
// query part for: “park”
node["leisure"="park"](area.searchArea);
way["leisure"="park"](area.searchArea);
relation["leisure"="park"](area.searchArea);
);
// print results
out body;
>;
out skel qt;
It may complain about being too large. Push on.